<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/include.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" " http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>主页 | 短信平台</title>
<jsp:include page="/WEB-INF/jsp/common/commonlist.jsp"></jsp:include>
<style>
	#userTable tr{
		background-color:white;
	}
	#userTable td{
		background-color:white;
	}
	
	td.td_title{
		width:100px;
	}
</style>
</head>
<body onload="bodyLoad()">
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <div id="sidebar">
    <div id="sidebar-wrapper">
      <!-- Sidebar with logo and menu -->
      <h1 id="sidebar-title"><a href="#">短信平台</a></h1> 
      <!-- Logo (221px wide) -->

      <!-- Sidebar Profile links -->
      <div id="profile-links"> 您好, <a href="#" title="Edit your profile">${username} </a>, 你有 <a href="#messages" rel="modal" title="3 Messages">3 封邮件！</a><br />
        <br />
        <a href="${ctx}/changepwd.do" target="workSpace">修改密码</a> | 
        <a href="j_spring_security_logout" onclick="logout()" >退出</a></div>
      <ul id="main-nav">
        <!-- Accordion Menu -->
        <li> <a href="#" class="nav-top-item current">
          <!-- Add the class "no-submenu" to menu items with no sub menu -->
          短信管理 </a>
          <ul>
            <li><a href="sendMessage.do">发送短信</a></li>
<!--           	<li><a href="#">定时短信</a></li> -->
          	<li><a href="validMessage.do">审核短信</a></li>
          	<li><a href="themeMessage.do">短信模板</a></li>
          	<li><a href="sendInfo.do">发送报告</a></li>
<!--           	<li><a href="#">号码资源库</a></li> -->
          	<li><a class="current" href="messageGroup.do">短信分组</a></li>
          </ul>
        <li> <a href="#" class="nav-top-item no-submenu">
          <!-- Add the class "current" to current menu item -->
          财务管理 </a>
          <ul>
            <li><a href="messageGroup.do">财务明细信息</a></li>
            <!-- Add class "current" to sub menu items also -->
<!--             <li><a href="#">统计查询</a></li> -->
          </ul>
        </li>
        <li> <a href="#" class="nav-top-item"> 通讯录管理 </a>
          <ul>
            <li><a href="newCustomer.do">新建联系人</a></li>
            <li><a href="customerList.do">联系人列表</a></li>
          </ul>
        </li>
        <li> <a href="#" class="nav-top-item"> 用户管理 </a>
          <ul>
            <li><a href="newUser.do">新建用户</a></li>
            <li><a href="userList.do">用户列表</a></li>
            <li><a href="blackList.do">黑名单</a></li>
          </ul>
        </li>
        <li> <a href="#" class="nav-top-item"> 通道管理 </a>
          <ul>
            <li><a href="newChannel.do">新建通道</a></li>
            <li><a href="channelList.do">通道列表</a></li>
          </ul>
        </li>
         <li> <a href="#" class="nav-top-item"> 系统设定 </a>
          <ul>
            <li><a href="noticeList.do">公告列表</a></li>
            <li><a href="newNotice.do">新建公告</a></li>
<!--             <li><a href="#">邮箱列表</a></li> -->
<!--             <li><a href="#">日志管理</a></li> -->
            <li><a href="systemParameter.do">系统参数</a></li>
          </ul>
        </li>
         <li> <a href="#" class="nav-top-item"> 账户信息 </a>
          <ul>
            <li><a href="updateInfo.do">修改资料</a></li>
<!--             <li><a href="#">短信签名</a></li> -->
            <li><a href="apiImplement.do">API接口</a></li>
          </ul>
        </li>
      </ul>
      <div id="messages" style="display: none">
        <!-- Messages are shown when a link with these attributes are clicked: href="#messages" rel="modal"  -->
        <h3>3 Messages</h3>
        <p> <strong>17th May 2009</strong> by Admin<br />
          Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small> </p>
        <p> <strong>2nd May 2009</strong> by Jane Doe<br />
          Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small> </p>
        <p> <strong>25th April 2009</strong> by Admin<br />
          Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small> </p>
        <form action="#" method="post">
          <h4>New Message</h4>
          <fieldset>
          <textarea class="textarea" name="textfield" cols="79" rows="5"></textarea>
          </fieldset>
          <fieldset>
          <select name="dropdown" class="small-input">
            <option value="option1">Send to...</option>
            <option value="option2">Everyone</option>
            <option value="option3">Admin</option>
            <option value="option4">Jane Doe</option>
          </select>
          <input class="button" type="submit" value="Send" />
          </fieldset>
        </form>
      </div>
      <!-- End #messages -->
    </div>
  </div>
  <!-- End #sidebar -->
  <div id="main-content">
    <!-- Main Content Section with everything -->
    <noscript>
    <!-- Show a notification if the user has disabled javascript -->
    <div class="notification error png_bg">
      <div> Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
        Download From <a href="http://www.exet.tk">exet.tk</a></div>
    </div>
    </noscript>
    <!-- Page Head -->
   <%@ include file="/WEB-INF/jsp/common/top.jsp" %>
    <!-- End .shortcut-buttons-set -->
    <div class="clear"></div>
    <!-- End .clear -->
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>编辑分组</h3>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab" id="tab2">
          <form action="updGroup.do" method="post">
            <table id="userTable">
           <tr>           
              <td class="td_title"><label style="display: inline; width: 90px;">组名：</label></td>
              <td><input class="text-input small-input" type="text" id="groupName" name="groupName"  value="${group.groupName}"  maxlength="30"/>（限30字）</td>              
            </tr>
            <tr>
            <td style="vertical-align: top;">
              <label>内容：</label>
             </td>
             <td>
              <textarea  class="text-input textarea wysiwyg" id="groupContent" name="groupContent" cols="79" rows="15"  >${group.groupContent}</textarea>
              </td>
            </tr>
            <tr><td colspan="2" style="text-align: center;">
              <input class="button" type="submit" value="更  新" />&nbsp;&nbsp;<input class="button" type="reset" value="重  置" />
              <input type="hidden" name="info" id="info" value="${info}">
              <input type="hidden" name="groupId" id="groupId" value="${group.groupId}">
			</td></tr>
           </table>
            <div class="clear"></div>
            <!-- End .clear -->
          </form>
        </div>
        <!-- End #tab2 -->
      </div>
      <!-- End .content-box-content -->
    </div>
    <!-- End .content-box -->
    <div class="clear"></div>
    <%@ include file="/WEB-INF/jsp/common/copyright.jsp" %>
  </div>
  <!-- End #main-content -->
</div>
</body>
<script type="text/javascript">
	var info = document.getElementById("info").value;
	if(info==""||info==null){
		//...
	}else{
		alert(info);
	}
</script>
</html>